package com.my.ph.service;

import com.my.ph.dto.PublishHelperParam;
import com.my.ph.entity.publish.PublishHelperInfo;
import com.my.ph.enums.MediaTypeEnum;
import com.my.ph.entity.media.TVMovie;
import com.my.ph.entity.media.TVMovieDetail;
import com.my.ph.util.R;

import java.util.List;

public interface MediaService {

    List<TVMovie> search(String keyword);

    TVMovieDetail getDetail(long id, MediaTypeEnum mediaType);

    R<PublishHelperInfo> getPublishHelperInfo(PublishHelperParam param);

    R<PublishHelperInfo> confirmPublishInfo(PublishHelperInfo info);
}
